import axios from 'axios'
axios.defaults.baseURL = "http://xawn.f3322.net:8012"

const role = {
    //获取所有角色
    role(params) {
        return axios({
            url: 'http://xawn.f3322.net:8012/role',
            headers: {
                Authentication: "b25e39b47e774b4a05b3cb1555fc377f209457c3fd339d373d3fca7b1ea8be56fdc6ed05b7ffb0700e7300d242fb83b5616ddf031efcaf56e8d0d06fdfa3c061c2f2c5bb1aee065129db0544f06976366d34a342a577297224e4687aa7c0c0f26802830620900ddee1be48256b0026038f6f599a113e0cf33d3f5ac964ab7bfff196759dadbc4c98"
            },
            params
        })
    },

}

export default role